@extends('admin.layouts.master')
@section('content')
    <link rel="stylesheet"
          href="{{asset('static/bootstrap/css/bootstrap.min.css')}}">
    <link rel="stylesheet" href="{{url('/css/app.css')}}">

    <div class="col-md-12">
        <!-- 自定义内容区域 -->
        <div class="panel panel-default">
            <div class="panel-heading">修改网站视频URL</div>
            <div class="panel-body">
                <form class="form-horizontal" enctype="multipart/form-data"
                      action="{{url('admin/video/update',['id'=>$videos->id])}}"  method="post" >
                    {{csrf_field()}}
                    <div class="form-group">
                        <label for="n" class="col-sm-2 control-label">视频的URL：</label>

                        <div class="col-sm-5">
                            {{--<input  type="text" name="video" value="{{$videos->video}}">--}}
                            <textarea name="video" id="" cols="30" rows="3">{{$videos->video}}</textarea>


                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password" class="col-sm-2 control-label">视频的说明：</label>
                        <div class="col-sm-5">

                            {{--<input type="text" name="content" value="{{$videos->content}}">--}}
                            <textarea name="content" id="" cols="30" rows="10">{{$videos->content}}</textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" id="addpermission" class="btn btn-primary">提交</button>
                            <button type="submit" onclick="history.go(-1)" class="back btn btn-primary">返回</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- jQuery 文件 -->
    <script src="{{asset('static/jquery/jquery.min.js')}}"></script>
    <!-- Bootstrap JavaScript 文件 -->
    <script src="{{asset('static/bootstrap/js/bootstrap.min.js')}}"></script>
@endsection


